import { AjaxPlugin } from 'vux'
import {allUrl} from '../const/url'

const getBaseUrl = (oid) => `${allUrl}/`
export default {
  getHistoryList: (oid) => getBaseUrl(oid),

  get: () => AjaxPlugin.$http.get(`${allUrl}/`, {}),

  historyRecord: () => AjaxPlugin.$http.post(`${allUrl}`, {})
}
